package com.user.service;

import com.common.entity.sys.Dict;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author: 温洁宇
 * @date: 2021/08/11/19:01
 * Other:系统字典
 */
public interface IDictService {


    PageInfo<Dict> findAll(Dict dict, int pageNum, int pageSize);

    boolean addChildren(Dict dict);

    List<Dict> findOne(int parentId);

    Dict findOneById(int id);

    boolean delOne(int id);
}
